package com.mes.schedule.domain;

import java.io.Serializable;


/**
 * 资源及其资源分配片段
 */
public class Assignment  implements Serializable  {
	
	private Resource resource;
	private SOperationTask operTask;
	private long start;
	private long end;

	public Resource getResource() {
		return resource;
	}
	public void setResource(Resource resource) {
		this.resource = resource;
	}
	/**
	 * @return the operTask
	 */
	public SOperationTask getOperTask() {
		return operTask;
	}
	/**
	 * @param operTask the operTask to set
	 */
	public void setOperTask(SOperationTask operTask) {
		this.operTask = operTask;
	}
	/**
	 * @return the start
	 */
	public long getStart() {
		return start;
	}
	/**
	 * @param start the start to set
	 */
	public void setStart(long start) {
		this.start = start;
	}
	/**
	 * @return the end
	 */
	public long getEnd() {
		return end;
	}
	/**
	 * @param end the end to set
	 */
	public void setEnd(long end) {
		this.end = end;
	}
	

}
